﻿<Window x:Class="Hardanger.View.ResultsDetails"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300" Icon="/HardangerCore;component/Images/Hardanger.png" Title="Results Details">
	<Grid>
		<TabControl>
			<TabItem Header="Request">
                <TabItem.ContextMenu>
                    <ContextMenu>
                        <MenuItem Header="Save Request" Click="Save_Request_Click" />
                    </ContextMenu>
                </TabItem.ContextMenu>
				<ScrollViewer VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto">
					<TextBox Name="RequestText" Text="{Binding Request.Raw,Mode=OneWay}" IsReadOnly="True"/>
				</ScrollViewer>
			</TabItem>
			<TabItem Header="Response">
                <TabItem.ContextMenu>
                    <ContextMenu>
                        <MenuItem Header="Save Response" Click="Save_Response_Click" />
                    </ContextMenu>
                </TabItem.ContextMenu>
                <ScrollViewer VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto">
					<TextBox Name="ResponseText" Text="{Binding Response.Raw,Mode=OneWay}" IsReadOnly="True"/>
				</ScrollViewer>
			</TabItem>
		</TabControl>
	</Grid>
</Window>
